@charset "utf-8";

ul,ol{
    list-style: none;
}
*{
    -webkit-box-sizing: border-box;/*要求兼容主流浏览器 webkit内核的必须*/
    box-sizing: border-box;
}
.page1 .msg_l,.msg_r{
    font: 16px 'microsoft YaHei';
    line-height: 25px;
    color: #5C3B17;
}
.page1 .div1{
    text-align: center;
    animation: page1 1.5s;
    line-height: 200px;
    font-family: '华文行楷';
}
.msg_l {
    animation: msg_l 1s 1.5s;
    margin-left: -120px;
    animation-fill-mode: forwards;
}
.msg_r {
    position: absolute;
    right: -210px;
    animation:msg_r 1.5s 2.5s;
    animation-fill-mode: forwards;
}
.page2 h3,.page3 h3,.page4 h3{
    font: 30px '华文行楷';
    margin-top: 0;
}
.page2 p{
    font: 14px 'microsoft YaHei';
    color: #5C3B17;
    width: 40%;
    height: 18%;
    float: left;
    position: relative;
    background-color: white;
    border-radius: 40px;
    padding: 10px;
}
.page2 p{
    opacity: 0.5;
}
.page3 .square {
    width: 100px;
    height: 100px;
    text-align: center;
    line-height: 100px;
    font-size: 24px;
    margin: 50px auto;
    position: relative;
    transform: rotateY(30deg) rotateX(-30deg);
    transform-style: preserve-3d;
    animation: square 5s infinite;

}

.front, .back, .left, .right, .top, .bottom {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
}

.front {
    background-color: pink;
    transform: rotateY(0deg) translateZ(50px);
}

.back {
    background-color: blue;
    transform:  translateZ(-50px);
}

.left {
    background-color: green;
    transform:  rotateY(90deg) translateZ(-50px);
}

.right {
    background-color: yellow;
    transform: rotateY(90deg) translateZ(50px);
}

.top {
    background-color: red;
    transform: rotateX(90deg) translateZ(50px);
}

.bottom {
    background-color: orange;
    transform:  rotateX(90deg) translateZ(-50px);
}

/*page3end*/
/*page4begin*/

.page4{
    font: 12px '微软雅黑';
}
.chatbox {
    width: 80%;
    height: 500px;
    margin: 0 auto;
    border: 1px solid #CCC;
    /*background-color: #FFF;*/
    border-radius: 5px;
}
.messages {
    height: 350px;
    padding: 20px 40px;
    box-sizing: border-box;
    border-bottom: 1px solid #CCC;
    overflow: scroll;
    font: 12px 'microsoft YaHei';
}
.self {
    text-align: left;
}
.other {
    text-align: right;
}
.form {
    height: 150px;
}
.form .input {
    height: 110px;
    padding: 10px;
    box-sizing: border-box;
}
.form .btn {
    height: 40px;
    box-sizing: border-box;
    border-top: 1px solid #CCC;
}
.form textarea {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: none;
    resize: none;
    outline: none;
    font-size: 20px;
}
.form input {
    display: block;
    width: 100px;
    height: 30px;
    margin-top: 5px;
    margin-right: 20px;
    float: right;
}

/*page4end*/

/*page5begin*/
.wrap {
    width: 100%;
    margin: auto;
    position: relative;
}
.wrap img {
    width: 100%;
    height: 200px;
    position: absolute;
    left: 0;
    top: 0;
    transition: 2s;
}
.wrap img:nth-child(1) {
    position: relative;
}
.wrap .follow {
    width: 30%;
    height: 30px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 20px;
    left: 50%;
    margin-left: -15%;
    z-index: 999;
}
.wrap .follow span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid gray;
}
.wrap .follow span:hover {
    cursor: pointer;
}
.wrap #leftBut{
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 999;
    opacity: 0.5;
    margin-top: -20px;
}
.wrap #rightBut{
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 999;
    opacity: 0.5;
    margin-top: -20px;
}
.wrap .text1{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
}

.wrap1{
    width: 100%;
    position: relative;
    overflow: hidden;
}
.wrap1 ul:first-child{
    width: 1000%;
    -webkit-transform: translateX(-10%);/*兼容*/
    transform: translateX(-10%);
    padding-left: 0;
}
.wrap1 ul:first-child li{
    width: 10%;
    float: left;
    position: relative;
}
.wrap1 ul:first-child li a{
    width: 100%;
    display: block;
}
.wrap1 ul:first-child li a img{
    width: 100%;
    display: block;
    height: 240px;
    margin-top: 20px;
}

.wrap1 ul:last-child{
    position: absolute;
    bottom: 6px;
    left: 50%;
    margin-left: -59px;
    width: 118px;
    height: 6px;
}
.wrap1 ul:last-child li{
    width: 6px;
    height: 6px;
    border: 1px solid #fff;
    border-radius: 3px;
    float: left;
    margin-left: 10px;
}
.wrap1 ul:last-child li.now{
    background-color: #fff;
}
.wrap1 ul:last-child li:first-child{
    margin-left: 0;
}
.wrap1 ul::before,
.wrap1 ul::after{
    content: "";
    display: block;
    visibility: hidden;
    line-height: 0;
    height: 0;
    clear: both;
}
.wrap1 ul p{
    font: 16px 'microsoft YaHei';
    position: absolute;
    top: 10%;
    left: 2%;
    z-index: 10;
}
/*page5end*/
@keyframes msg_l {
    0% {
        transform: translateX(-120px);
    }
    50% {
        transform: translateX(210px);
    }
    100% {
        transform: translateX(140px);
    }
}
@keyframes page1 {
    0% {
        transform: translateY(-200px);
    }
    50% {
        transform: translateY(50px);
    }
    100% {
        transform: translateY(0);
    }
}
@keyframes msg_r {
    0% {
        transform: translateX(210px);
    }
    50% {
        transform: translateX(-280px);
    }
    100% {
        transform: translateX(-230px);
    }
}
@keyframes square {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: rotateY(90deg) rotateX(-90deg);
    }
    50% {
        transform: rotateY(180deg) rotateX(-180deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(-360deg);
    }
}



